package com.yb.guigu.pick.security.generator;

import com.yb.guigu.pick.security.bean.GuiguPickUser;
import com.yb.guigu.pick.core.util.GuiguTokenUtil;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/31 20:43
 * FileName: GuiguPickAccessTokenGenerator
 * Description:
 */
public class GuiguPickAccessTokenGenerator implements AccessTokenGenerator{
    @Override
    public String generate(GuiguPickUser guiguPickUser) {
        return GuiguTokenUtil.generate(guiguPickUser.getUsername());
    }
}
